package com.shop.loan.model.entity;

import java.math.BigDecimal;
import java.util.Date;

public class MachineRuleByMybatis {
    /**
     * 
     */
    private Long id;

    /**
     * 
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 数据字段
     */
    private String dataField;

    /**
     * 规则名称
     */
    private String name;

    /**
     * 规则说明
     */
    private String remark;

    /**
     * 字段来源
     */
    private Integer reportType;

    /**
     * 规则字符
     */
    private String ruleTag;

    /**
     * 状态
     */
    private Boolean status;

    /**
     * 扣分
     */
    private BigDecimal subScore;

    /**
     * 类型
     */
    private Integer type;

    /**
     * 
     */
    private Long createUserId;

    /**
     * 更新人
     */
    private Long updateUserId;

    /**
     * 匹配内容
     */
    private String detail;

    public MachineRuleByMybatis(Long id, Date createTime, Date updateTime, String dataField, String name, String remark, Integer reportType, String ruleTag, Boolean status, BigDecimal subScore, Integer type, Long createUserId, Long updateUserId) {
        this.id = id;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.dataField = dataField;
        this.name = name;
        this.remark = remark;
        this.reportType = reportType;
        this.ruleTag = ruleTag;
        this.status = status;
        this.subScore = subScore;
        this.type = type;
        this.createUserId = createUserId;
        this.updateUserId = updateUserId;
    }

    public MachineRuleByMybatis(Long id, Date createTime, Date updateTime, String dataField, String name, String remark, Integer reportType, String ruleTag, Boolean status, BigDecimal subScore, Integer type, Long createUserId, Long updateUserId, String detail) {
        this.id = id;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.dataField = dataField;
        this.name = name;
        this.remark = remark;
        this.reportType = reportType;
        this.ruleTag = ruleTag;
        this.status = status;
        this.subScore = subScore;
        this.type = type;
        this.createUserId = createUserId;
        this.updateUserId = updateUserId;
        this.detail = detail;
    }

    public MachineRuleByMybatis() {
        super();
    }

    /**
     * 获取
     * @return id 
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id 
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取
     * @return create_time 
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime 
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取更新时间
     * @return update_time 更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置更新时间
     * @param updateTime 更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取数据字段
     * @return data_field 数据字段
     */
    public String getDataField() {
        return dataField;
    }

    /**
     * 设置数据字段
     * @param dataField 数据字段
     */
    public void setDataField(String dataField) {
        this.dataField = dataField == null ? null : dataField.trim();
    }

    /**
     * 获取规则名称
     * @return name 规则名称
     */
    public String getName() {
        return name;
    }

    /**
     * 设置规则名称
     * @param name 规则名称
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * 获取规则说明
     * @return remark 规则说明
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置规则说明
     * @param remark 规则说明
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * 获取字段来源
     * @return report_type 字段来源
     */
    public Integer getReportType() {
        return reportType;
    }

    /**
     * 设置字段来源
     * @param reportType 字段来源
     */
    public void setReportType(Integer reportType) {
        this.reportType = reportType;
    }

    /**
     * 获取规则字符
     * @return rule_tag 规则字符
     */
    public String getRuleTag() {
        return ruleTag;
    }

    /**
     * 设置规则字符
     * @param ruleTag 规则字符
     */
    public void setRuleTag(String ruleTag) {
        this.ruleTag = ruleTag == null ? null : ruleTag.trim();
    }

    /**
     * 获取状态
     * @return status 状态
     */
    public Boolean getStatus() {
        return status;
    }

    /**
     * 设置状态
     * @param status 状态
     */
    public void setStatus(Boolean status) {
        this.status = status;
    }

    /**
     * 获取扣分
     * @return sub_score 扣分
     */
    public BigDecimal getSubScore() {
        return subScore;
    }

    /**
     * 设置扣分
     * @param subScore 扣分
     */
    public void setSubScore(BigDecimal subScore) {
        this.subScore = subScore;
    }

    /**
     * 获取类型
     * @return type 类型
     */
    public Integer getType() {
        return type;
    }

    /**
     * 设置类型
     * @param type 类型
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * 获取
     * @return create_user_id 
     */
    public Long getCreateUserId() {
        return createUserId;
    }

    /**
     * 设置
     * @param createUserId 
     */
    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    /**
     * 获取更新人
     * @return update_user_id 更新人
     */
    public Long getUpdateUserId() {
        return updateUserId;
    }

    /**
     * 设置更新人
     * @param updateUserId 更新人
     */
    public void setUpdateUserId(Long updateUserId) {
        this.updateUserId = updateUserId;
    }

    /**
     * 获取匹配内容
     * @return detail 匹配内容
     */
    public String getDetail() {
        return detail;
    }

    /**
     * 设置匹配内容
     * @param detail 匹配内容
     */
    public void setDetail(String detail) {
        this.detail = detail == null ? null : detail.trim();
    }
}